package cn.mianshiyi.braumclient.ratelimit;


/**
 * @author shangqing.liu
 */
public class LimitRuleConfig {
    /**
     * 限流资源名称
     * 不可为空
     */
    private String name;
    /**
     * 每秒内允许通过的数量
     * 不可为空
     */
    private double permitsPerSecond;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPermitsPerSecond() {
        return permitsPerSecond;
    }

    public void setPermitsPerSecond(double permitsPerSecond) {
        this.permitsPerSecond = permitsPerSecond;
    }

}
